import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';

import {AddCategoryComponent} from './add-category/add-category.component';
import {AddAttrComponent} from './add-attr/add-attr.component';
import {AttrMatchComponent} from './attr-match/attr-match.component';
import {AddClassifyComponent} from './add-classify/add-classify.component';
import {TemplateComponent} from './template/template.component';

const routes: Routes = [
  {
    path: 'add-category',
    component: AddCategoryComponent
  },
  {
    path: 'add-attr',
    component: AddAttrComponent
  },
  {
    path: 'attr-match',
    component: AttrMatchComponent
  },
  {
    path: 'add-classify',
    component: AddClassifyComponent
  },
  {
    path: 'template',
    component: TemplateComponent
  }
];

@NgModule({
  imports: [
    RouterModule.forChild(routes)
  ],
  exports: [
    RouterModule
  ],
  providers: []
})
export class CategoryManageRoutingModule {
}
